home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 12 / Cream of the Crop 12 (Part II) / Cream of the Crop 12 (Part II).iso / OS2 / VD08BIN.ZIP / usr / include / pm / listbox.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-13  |  785 b   |  38 lines

  1. #ifndef _LISTBOX_H_
  2. #define _LISTBOX_H_
  3.  
  4. #ifndef _FACTORYWINDOW_H_
  5. #include <pm/FactoryWindow.h>
  6. #endif
  7.  
  8. @interface ListBox : FactoryWindow <Archiving>
  9. {
  10. }
  11.  
  12. - initWithId: (ULONG) anId andFlags: (ULONG) flags in: (Window *) parent;
  13. - insertItem: (SHORT) pos text: (char *) buffer;
  14. - (unsigned long) count;
  15. - (SHORT) selected;
  16. - (SHORT) itemTextLength: (SHORT) pos;
  17. - (char *) item: (SHORT) pos text: (char *) buffer;
  18. - selectItem: (SHORT) pos;
  19. - deleteItem: (SHORT) pos;
  20. - deleteAll;
  21.  
  22. - (MRESULT) handleMessage: (ULONG) msg
  23.             withParams: (MPARAM) mp1 and: (MPARAM) mp2;
  24.  
  25. /*
  26.  * Methods for protocol "Archiving"
  27.  */
  28.  
  29. - read: (TypedStream *) aStream;
  30. - write: (TypedStream *) aStream;
  31. - awake;
  32.  
  33. - createInPMWindow: (HWND) hwnd;
  34.  
  35. @end
  36.  
  37. #endif
  38.